From node:14.17-buster-slim

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm i typescript -g

RUN npm i

COPY . .

RUN npm run db:dev

EXPOSE 7001

CMD npm run dev